package ysu.sxm.ptjc.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.NoArgsConstructor;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @Description  
 * @Author  baodan_Fan 
 * @Date 2021-01-07 
 */

@Getter
@Setter
@ToString
@NoArgsConstructor
@EqualsAndHashCode
@Entity
@Table ( name ="machining_defects_info" )
public class MachiningDefectsInfo  implements Serializable {
	private static final long serialVersionUID =  2350601293758949156L;

	/**
	 * 机加工缺陷id
	 */
	@Id
	private Long machiningDefectsId;

	/**
	 * 尺寸缺陷
	 */
   	@Column(name = "size_defect" )
	private Long sizeDefect;

	/**
	 * 毛刺
	 */
   	@Column(name = "thorn_broken" )
	private Long thornBroken;

	/**
	 * 端头坑
	 */
   	@Column(name = "end_pit" )
	private Long endPit;

	/**
	 * 白斑 
	 */
   	@Column(name = "white_mark" )
	private Long whiteMark;

	/**
	 * 坑/包
	 */
   	@Column(name = "pit_or_bag" )
	private Long pitOrBag;

	/**
	 * 变形
	 */
   	@Column(name = "out_of_shape" )
	private Long outOfShape;

	/**
	 * 漏工序
	 */
   	@Column(name = "missed_process" )
	private Long missedProcess;

	/**
	 * 缺肉
	 */
   	@Column(name = "lack_meat" )
	private Long lackMeat;

	/**
	 * 多肉
	 */
   	@Column(name = "extra_meat" )
	private Long extraMeat;

	/**
	 * 打磨印
	 */
   	@Column(name = "grinding_mark" )
	private Long grindingMark;

	public Long getGrindingMark() {
		return grindingMark;
	}

	public MachiningDefectsInfo setGrindingMark(Long grindingMark) {
		this.grindingMark = grindingMark;
		return this;
	}

	public Long getFishTail() {
		return fishTail;
	}

	public MachiningDefectsInfo setFishTail(Long fishTail) {
		this.fishTail = fishTail;
		return this;
	}

	/**
	 * 鱼尾
	 */
   	@Column(name = "fish_tail" )
	private Long fishTail;

	/**
	 * 其它
	 */
   	@Column(name = "other" )
	private Long other;

	/**
	 * 是否拿到id
	 */
   	@Column(name = "get_id" )
	private Long getId;

	public Long getMachiningDefectsId() {
		return this.machiningDefectsId;
	}

	public void setMachiningDefectsId(Long machiningDefectsId) {
		this.machiningDefectsId = machiningDefectsId;
	}

	public Long getSizeDefect() {
		return this.sizeDefect;
	}

	public void setSizeDefect(Long sizeDefect) {
		this.sizeDefect = sizeDefect;
	}

	public Long getThornBroken() {
		return this.thornBroken;
	}

	public void setThornBroken(Long thornBroken) {
		this.thornBroken = thornBroken;
	}

	public Long getEndPit() {
		return this.endPit;
	}

	public void setEndPit(Long endPit) {
		this.endPit = endPit;
	}

	public Long getWhiteMark() {
		return this.whiteMark;
	}

	public void setWhiteMark(Long whiteMark) {
		this.whiteMark = whiteMark;
	}

	public Long getPitOrBag() {
		return this.pitOrBag;
	}

	public void setPitOrBag(Long pitOrBag) {
		this.pitOrBag = pitOrBag;
	}

	public Long getOutOfShape() {
		return this.outOfShape;
	}

	public void setOutOfShape(Long outOfShape) {
		this.outOfShape = outOfShape;
	}

	public Long getMissedProcess() {
		return this.missedProcess;
	}

	public void setMissedProcess(Long missedProcess) {
		this.missedProcess = missedProcess;
	}

	public Long getLackMeat() {
		return this.lackMeat;
	}

	public void setLackMeat(Long lackMeat) {
		this.lackMeat = lackMeat;
	}

	public Long getExtraMeat() {
		return this.extraMeat;
	}

	public void setExtraMeat(Long extraMeat) {
		this.extraMeat = extraMeat;
	}

	public Long getOther() {
		return this.other;
	}

	public void setOther(Long other) {
		this.other = other;
	}

	public Long getGetId() {
		return this.getId;
	}

	public void setGetId(Long getId) {
		this.getId = getId;
	}

}
